// 全局样式变量

// 颜色变量
$primary-color: #007AFF;
$success-color: #52C41A;
$warning-color: #FAAD14;
$error-color: #FF4D4F;
$info-color: #1890FF;

// 文字颜色
$text-color-primary: #262626;
$text-color-secondary: #595959;
$text-color-disabled: #BFBFBF;
$text-color-placeholder: #8C8C8C;

// 背景颜色
$bg-color-white: #fff;
$bg-color-light: #FAFAFA;
$bg-color-page: #F5F5F5;

// 边框颜色
$border-color: #D9D9D9;
$border-color-light: #F0F0F0;

// 阴影
$box-shadow-light: 0 1px 4px rgba(0,0,0,0.1);
$box-shadow: 0 2px 8px rgba(0,0,0,0.15);
$box-shadow-heavy: 0 4px 16px rgba(0,0,0,0.2);

// 圆角
$border-radius-sm: 2px;
$border-radius: 4px;
$border-radius-lg: 8px;
$border-radius-circle: 50%;

// 间距
$spacing-xs: 4px;
$spacing-sm: 8px;
$spacing-md: 16px;
$spacing-lg: 24px;
$spacing-xl: 32px;

// 字体大小
$font-size-xs: 10px;
$font-size-sm: 12px;
$font-size-base: 14px;
$font-size-lg: 16px;
$font-size-xl: 18px;
$font-size-xxl: 20px;

// 行高
$line-height-base: 1.5;
$line-height-sm: 1.2;
$line-height-lg: 1.8;

// 字重
$font-weight-normal: 400;
$font-weight-medium: 500;
$font-weight-bold: 600;

// 断点
$breakpoint-xs: 480px;
$breakpoint-sm: 576px;
$breakpoint-md: 768px;
$breakpoint-lg: 992px;
$breakpoint-xl: 1200px;

// 动画
$transition-duration: 0.3s;
$transition-timing: ease;

// 层级
$z-index-dropdown: 1000;
$z-index-sticky: 1020;
$z-index-fixed: 1030;
$z-index-modal-backdrop: 1040;
$z-index-modal: 1050;
$z-index-popover: 1060;
$z-index-tooltip: 1070;

// 商品相关
$product-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
$product-card-radius: 8px;
$product-image-radius: 4px;

// 按钮相关
$btn-height-sm: 28px;
$btn-height-base: 32px;
$btn-height-lg: 40px;
$btn-padding-horizontal-sm: 12px;
$btn-padding-horizontal-base: 16px;
$btn-padding-horizontal-lg: 24px;

// 输入框相关
$input-height-sm: 28px;
$input-height-base: 32px;
$input-height-lg: 40px;
$input-padding-horizontal: 12px;

// 标签页相关
$tabs-bar-height: 44px;
$tabs-content-padding: 16px;

// 列表相关
$list-item-padding: 16px;
$list-item-border-color: #F0F0F0;

// 卡片相关
$card-padding: 16px;
$card-margin-bottom: 12px;
$card-border-radius: 8px;

// 导航栏相关
$navbar-height: 44px;
$navbar-bg-color: #FFFFFF;
$navbar-text-color: #262626;

// TabBar相关
$tabbar-height: 50px;
$tabbar-bg-color: #FFFFFF;
$tabbar-border-color: #E8E8E8;

// 加载相关
$loading-size: 24px;
$loading-color: $primary-color;

// 空状态相关
$empty-padding: 60px 0;
$empty-text-color: $text-color-secondary;
$empty-image-size: 120px; 